package com.wh.wisdomsite.xbox.st.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * 产品信息实体模型
 * @package com.wh.wisdomsite.xbox.st.entity
 * @author 蔡道行
 * @version V1.0
 * @date 11:26 2018/12/24
 * @Copyright 公司版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2014
 */
@TableName("st_product")
public class Product extends Model<Product> {

    /**
     * PK, 产品信息ID
     */
    @TableId(type = IdType.UUID)
    private String proId;

    /**
     * FK, 供应商信息ID
     */
    @TableField("supId")
    private String supId;

    /**
     * 产品名称
     */
    @TableField("materialName")
    private String materialName;

    /**
     * 规格型号
     */
    @TableField("standardType")
    private String standardType;

    /**
     * 计量单位
     */
    @TableField("meteringUnit")
    private String meteringUnit;

    /**
     * 产品单价
     */
    @TableField("unitPrice")
    private Double unitPrice;

    /**
     * 产品属性
     */
    @TableField("characterization")
    private String characterization;

    /**
     * 材料品牌
     */
    @TableField("brand")
    private String brand;


    /**
     * 技术参数
     */
    @TableField("technicalParameter")
    private String technicalParameter;

    /**
     * 详细说明
     */
    @TableField("detail")
    private String detail;

    /**
     * 数据状态
     * 1:正常 2:已删除
     */
    @TableField("dataState")
    private Character dataState;

    /**
     * 创建者
     */
    @TableField("createBy")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField("createDate")
    private Date createDate;

    /**
     * 更新者
     */
    @TableField("updateBy")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField("updateDate")
    private Date updateDate;

    /**
     * 备注
     */
    @TableField("remark")
    private String  remark;

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getSupId() {
        return supId;
    }

    public void setSupId(String supId) {
        this.supId = supId;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getStandardType() {
        return standardType;
    }

    public void setStandardType(String standardType) {
        this.standardType = standardType;
    }

    public String getMeteringUnit() {
        return meteringUnit;
    }

    public void setMeteringUnit(String meteringUnit) {
        this.meteringUnit = meteringUnit;
    }

    public Double getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(Double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getCharacterization() {
        return characterization;
    }

    public void setCharacterization(String characterization) {
        this.characterization = characterization;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Character getDataState() {
        return dataState;
    }

    public void setDataState(Character dataState) {
        this.dataState = dataState;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getTechnicalParameter() {
        return technicalParameter;
    }

    public void setTechnicalParameter(String technicalParameter) {
        this.technicalParameter = technicalParameter;
    }

    @Override
    protected Serializable pkVal() {
        return this.proId;
    }
}
